<template>
  <view class="file-tool-page">
    <view class="page-header">
      <text class="page-title">文件处理工具箱</text>
      <text class="page-desc">跨平台文件处理解决方案</text>
    </view>
    
    <view class="page-content">
      <xl-file-tool ref="fileToolRef" />
    </view>
    
    <view class="page-footer">
      <text class="footer-text">© 2023 XL Tools Demo</text>
    </view>
  </view>
</template>

<script setup>
import { ref, onMounted } from 'vue';

// 组件引用
const fileToolRef = ref(null);

// 生命周期钩子
onMounted(() => {
  // 页面加载完成后的初始化操作
  console.log('文件处理工具箱页面已加载');
});
</script>

<style lang="scss">
.file-tool-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  
  .page-header {
    padding: 30rpx;
    background-color: #fff;
    box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
    
    .page-title {
      font-size: 36rpx;
      font-weight: bold;
      color: #333;
      display: block;
      margin-bottom: 10rpx;
    }
    
    .page-desc {
      font-size: 28rpx;
      color: #666;
    }
  }
  
  .page-content {
    flex: 1;
    padding: 20rpx;
  }
  
  .page-footer {
    padding: 20rpx;
    text-align: center;
    background-color: #fff;
    
    .footer-text {
      font-size: 24rpx;
      color: #999;
    }
  }
}
</style> 